package com.itoffer.service;

import com.itoffer.pojo.Applicant;

import java.util.List;

public interface ApplicantService {

    /**
     * 用户登录方法
     * @param applicant_email
     * @param applicant_pwd
     * @return
     */
    Applicant Login(String applicant_email, String applicant_pwd);


    /**
     * 注册方法
     * @param applicant
     * @return
     */
    boolean register(Applicant applicant);

    /**
     * 根据email查询用户是否存在
     * @param applicant_email
     * @return
     */
    boolean selectByEmail(String applicant_email);


    /**
     * 修改密码
     * @param applicant_id
     * @return
     */
    boolean updateApplicantPwd(String NewApplicant_pwd,int applicant_id);
}